package com.wxx.design.demeter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: Jetwang
 * @date: 2022/4/7 21:03
 * @description: TODO
 * @version: 1.0
 */
public class TeamLeader {
    public void checkNumberOfCourses() {
        List<Course> courseList = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            courseList.add(new Course());
        }
        System.out.println("在线课程的数量为:" + courseList.size());
    }
}
